package cn.wolfcode.edu.mapper;

import cn.wolfcode.edu.domain.TransferHistory;
import cn.wolfcode.edu.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TransferHistoryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TransferHistory entity);

    TransferHistory selectByPrimaryKey(Long id);

    List<TransferHistory> selectAll();

    int updateByPrimaryKey(TransferHistory entity);

    //高级查询两件套
    Integer queryForCount(QueryObject qo);
    List<TransferHistory> queryForList(QueryObject qo);
    //高级查询两件套

    //设置 移交历史的移交目标
    void setTarget(@Param("saleManName") String saleManName, @Param("clientId") Long clientId);
}